package com.treasure.mall.zbq.common.ienum.live;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.treasure.mall.zbq.common.ienum.base.CodeDescCommonEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 
 * 直播相关多枚举
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.zbq.common.ienum.live
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/11 19:52
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.zbq.common.ienum.live Inc. All rights reserved.
 */
public interface LiveEnums {

    /**
     * 审核状态
     */
    @Getter
    @AllArgsConstructor
    @JsonFormat(shape = JsonFormat.Shape.OBJECT)
    enum AuditStatus implements CodeDescCommonEnum {
        WAIT(0, "待审核"),
        SUCCESS(1, "审核通过"),
        ERROR(2, "审核拒绝");
        private Integer code;
        private String desc;
    }

    @Getter
    @AllArgsConstructor
    @JsonFormat(shape = JsonFormat.Shape.OBJECT)
    enum PlayStatus implements CodeDescCommonEnum {
        PAYING(0, "直播中"),
        TO_PLAY(1, "待开播"),
        PAY_COMPLETE(2, "直播结束");

        private Integer code;
        private String desc;
    }


    /**
     * 今日直播间场景类型
     */
    @Getter
    @AllArgsConstructor
    @JsonFormat(shape = JsonFormat.Shape.OBJECT)
    enum SceneType implements CodeDescCommonEnum {
        android(0, "android"),
        iOS(0, "iOS"),
        miniProgram(0, "miniProgram"),
        qrcode(0, "qrcode"),
        share(0, "share");


        private Integer code;
        private String desc;
    }
}
